package org.dwell.urlfilter.demo.service;

import org.dwell.urlfilter.demo.domain.CoreRole;
import org.dwell.urlfilter.demo.test.CoreUserRoleDB;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Jange on 2016/4/6.
 */
@Service
public class CoreRoleService {

    public List<CoreRole> listByUserId(String userId) {
        return CoreUserRoleDB.listByUserId(userId);
    }

}
